
import { configureStore, combineReducers } from "@reduxjs/toolkit";
// 查询医生的问诊记录列表
import ListofinFormation from './Consultationinformation/ListofinFormation/index'
//医生-发送消息（文本消息）
import Doctorchat from "./Consultationinformation/Doctorchat";
// 用户详情接口
import doPatientIn from './Consultationinformation/PatientInformationPage'
//查询医生历史问诊记录列表
import historicalconsultation from './Consultationinformation/Historicalconsultation'
//历史聊天记录
import Interviewchathistory from './Consultationinformation/Interviewchathistory'
////查询问诊评价详情
import CheckoutThereViews from './Consultationinformation/CheckoutThereViews'
// 结束问诊接口
import Endtheconsultation from './Consultationinformation/Endtheconsultation'
import patient from "./Lzk_Store/Patint";
import wy from './wy-store/wy';
const createStore = () => {
   const rootReducer = combineReducers({
      //查询医生的问诊记录列表
      ListofinFormation,
      //医生-发送消息（文本消息）
      Doctorchat,
      // 用户详情接口
      doPatientIn,
      //查询医生历史问诊记录列表
      historicalconsultation,
      //历史聊天记录
      Interviewchathistory,
      //查询问诊评价详情
      CheckoutThereViews,
      // 结束问诊接口
      Endtheconsultation,
      patient,
      wy
   });


   return configureStore({
      reducer: rootReducer
   })
}

const store = createStore();
export default store;